<?php

namespace App\Models;

use App\Traits\ModelTrait;
use Illuminate\Database\Eloquent\Model;

class SmsSign extends Model
{
    use ModelTrait;

    public $timestamps = true;

    protected $table = 'sms_sign';
    protected $fillable = [
        'sources'
    ];

    protected $casts = [
        'sources' => 'json'
    ];

    protected function serializeDate(\DateTimeInterface $date)
    {
        return $date->format('Y-m-d H:i:s');
    }
}
